import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * Created by GoldenMan on 2017/5/30.
 */
public class test {

        public static void main(String[] args){
            Date now = new Date();
            SimpleDateFormat sdf = new SimpleDateFormat("yyyyMMdd");
            System.out.println(sdf.format(now));
        }
}
